package ar.com.unlp.fi.lrs.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name= "RESULT")
public class Result {

	@Id
	@Column(name = "ID")
	private long id;
	
	@Column(name="SCORE" )
	private int score;
	
	@Column(name="SUCCES" )
	private boolean succes;
	
	@Column(name="COMPLETION" )
	private boolean completion;
	
	@Column(name="RESPONSE" )
	private String response;

//	private int duration;
	
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public boolean isSucces() {
		return succes;
	}

	public void setSucces(boolean succes) {
		this.succes = succes;
	}

	public boolean isCompletion() {
		return completion;
	}

	public void setCompletion(boolean completion) {
		this.completion = completion;
	}

	public String getResponse() {
		return response;
	}

	public void setResponse(String response) {
		this.response = response;
	}	
	
}
